TeamB

id: task-254 title: 'Init: default ''No'' for Claude agent installation' status: Done assignee:

  • '@codex' created_date: '2025-09-04 19:53' updated_date: '2025-09-04 20:16' labels:
  • cli
  • init
  • agents dependencies: [] priority: medium

Description

Change backlog init to not add the Claude custom agent by default. The interactive confirm should default to No (pressing Enter = No). Non-interactive mode already defaults to false via --install-claude-agent flag.

Goal: Make Claude agent an explicit opt-in during initialization, with clear prompt copy and docs.

Acceptance Criteria

  • [x] #1 Interactive init: Claude agent confirm defaults to No; pressing Enter does not install it.
  • [x] #2 Prompt copy clarifies opt-in and target path: “Install Claude Code Backlog.md agent? (y/N) Adds to .claude/agents/”.
  • [x] #3 Non-interactive: default remains false; --install-claude-agent true opts in explicitly.
  • [x] #4 Update documentation/help to reflect the default change and the flag usage.
  • [x] #5 Add/adjust a minimal test to assert the prompt initial value is false and flag parsing still works.

Implementation Plan

  1. Change init prompt default to No
  2. Update prompt copy per spec
  3. Ensure non-interactive flag parsing unchanged
  4. Add minimal test to ensure default=false and flag true works
  5. Update docs/help text

Implementation Notes

Interactive prompt now defaults to No with clarified copy. Non-interactive stays false unless --install-claude-agent true is provided. Added tests verifying non-interactive default and explicit opt-in. Docs/help mention remains accurate with the new default.

Brodocs MVP